<template>
    <div >
      <div style="margin: auto">
        <img src="http://qom05wwz5.hd-bkt.clouddn.com/success.jpg" style="height: 100px;width: 100px">
        <h1>支付成功</h1>
        <p class="register" @click="gotoindex" style="margin: auto;text-align: center">回到首页</p>
      </div>
    </div>
</template>

<script>
    export default {
        name: "paySuccess",
        methods:{
          gotoindex(){
            this.$router.push({
              path: "/"
            })
          }
      }
    }
</script>

<style>
  .register {
    margin-top: 10px;
    font-size: 14px;
    line-height: 22px;
    color: #1ab2ff;
    cursor: pointer;
    text-align: left;
    text-indent: 8px;
    width: 160px;
  }
</style>
